home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / libtools.arc / VDSK2-0.DQC / VDSK2-0.DOC
Encoding:
Text File  |  1984-08-18  |  2.0 KB  |  47 lines

  1.                SAMPLE DEVICE DRIVER (VDSK) INSTRUCTIONS
  2.  
  3.      These instructions are for the Sample Device Driver shown
  4. on pages 14-27 through 14-34 of the DOS 2.0 Manual. The source
  5. code is located on the Assembler Language BBS: (703) 425-7229.
  6.  
  7.      1.  Assemble and Link the source code.
  8.      2.  Use the DOS EXE2BIN to convert the .EXE file produced
  9.          by the DOS LINK program to create the filename you
  10.          desire.
  11.  
  12.          example:   we assembled - a program called
  13.                     VDSK.ASM   and used the VDSK.OBJ
  14.                     as input to the LINK to produce
  15.                     THE VDSK.EXE FILE.
  16.              NOW:   A>EXE2BIN VDSK.EXE VDSK.COM
  17.                     (This will produce the COM file
  18.                      we will use next.)
  19.  
  20.       When DOS 2.0 boots, it will look for a file on the disk we are
  21. booting from named 'CONFIG.SYS' if it finds it there it expects it
  22. to contain the names of the device drivers we want to use while run-
  23. ning DOS. So we can use EDLIN or another editor to produce a file
  24. called 'CONFIG.SYS' that will consist of one record that will contain
  25. our device driver. On page 9-7 in the DOS 2.0 Manual you will find
  26. the format of the 'DEVICE' Command.
  27.  
  28.       So, our file will consist of a record that looks like:
  29.  
  30. DEVICE=VDSK.COM
  31.  
  32.       and that is all we need. Our CONFIG.SYS file has the name of
  33. our device driver (VDSK.COM) and make sure our VDSK.COM is on the
  34. Booting disk. If you want to have the VDSK.COM on another diskette
  35. just insert the disk designator into the name, (device=b:vdsk.com)
  36.  
  37.       Now we have to reboot DOS so that DOS can find CONFIG.SYS
  38. and install our driver.  You probably won't see DOS do it so when
  39. DOS quiets down do a 'chkdsk c:' and you should see it out there.
  40.  
  41.       If you have problems, give me a call and we will see if
  42. we can get you on the right track. Either leave me a message on
  43. this bbs or call (703) 425-6308 (BOB BLACKWELL).
  44.  
  45.       HAVE FUN.....
  46.  
  47.